$(function () {
   //发送请求,加载日报表数据
    $.post('/smartAnalysis/dailyChartJson',function (data) {
        console.log(data);
        console.log(data.cash);
        $("#cash").text(data.cash);
        $("#rechargecard").text(data.rechargecard);
        $("#wechat").text(data.wechat);
        $("#alipay").text(data.alipay);
        $("#bankCard").text(data.bankCard);
        $("#paykindToltal").text(data.cash+data.rechargecard+data.wechat+data.alipay+data.bankCard);

        $("#memberTotalMoney").text(data.memberTotalMoney);
        $("#notmemberTotalMoney").text(data.notmemberTotalMoney);
        $("#isorMemberToltal").text(data.memberTotalMoney+data.notmemberTotalMoney)


        $("#morning").text(data.morning);
        $("#afternoon").text(data.afternoon);
        $("#night").text(data.night);


        $("#memberTimes").text(data.memberTimes);
        $("#notmemberTimes").text(data.notmemberTimes);
        $("#times").text(data.memberTimes+data.notmemberTimes);


        $("#totalSaleAmount").text(data.totalSaleAmount);
        $("#totalDiscountAmount").text(data.totalDiscountAmount);
        $("#totalGiftAmount").text(data.totalGiftAmount);
        $("#expenses").text(data.expenses);
        $("#surplus").text(data.surplus);




    });



});